package com.anxinr.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : anxinr
 * @date : 2023/9/22 15:31
 */
@Data
@TableName("user")
public class User {

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(type = IdType.ASSIGN_ID)
    private Long id ;

    private String name ;

    private String username ;

    private String password ;

    private String remark ;

    private Date createTime ;

    private String createBy ;

    private Date updateTime ;

    private String updateBy ;
}
